package com.ciaj.module.sys.entity.vo;

import com.ciaj.base.bean.VoEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Set;

/**
 * @Author: ciaj.
 * @Date: 2020/8/8 22:59
 * @Description:
 * @version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="SysJobVo", description="用户岗位")
public class SysJobVo extends VoEntity {

    @ApiModelProperty(value = "归属公司ID")
    private String deptId;

    @ApiModelProperty(value = "岗位名称")
    private String jobId;

    @ApiModelProperty(value = "岗位名称")
    private String jobName;

    @ApiModelProperty(value = "岗位编码")
    private String jobCode;

    @ApiModelProperty(value = "是否主岗：0/1")
    private Integer isDefault;

    @ApiModelProperty(value = "岗位对应的角色")
    private Set<String> roles;

    @ApiModelProperty(value = "岗位对应的权限")
    private Set<String> permissions;
}
